package com.mediacloud.app.newsmodule.fragment.baoliao.adapter

class BaoLiaoPictureInfo(width:Int, height:Int){
    var width = 0
    var height = 0

    init {
        this.width = width
        this.height = height
    }

    /**
     * 当宽或高只要有一个为0时，重新计算
     * */
    fun canUse():Boolean{
        return width != 0 && height != 0
    }
}